html,body,#root{margin:0;min-height:100%;background:#0f1020}.spy-app{--bg:#0f1020;--card:#1b1d36;--ink:#f4f1ff;--mut:#a9a6c9;--acc:#ffb703;--red:#ff4d6d;position:relative;min-height:100vh;min-height:100dvh;background:radial-gradient(120% 60% at 50% 0%,#2a1f55 0%,var(--bg) 60%);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Tahoma,Noto Sans Arabic,sans-serif;overflow:hidden}.spy-app *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.spy-app button{font-family:inherit;cursor:pointer;border:0;color:inherit}.spy-app button:disabled{opacity:.4;cursor:default}.spy-glow{position:absolute;width:320px;height:320px;top:-120px;left:50%;transform:translate(-50%);background:radial-gradient(circle,rgba(255,183,3,.18),transparent 70%);pointer-events:none}.spy-screen{position:relative;max-width:480px;margin:0 auto;padding:60px 18px 36px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;gap:14px}.spy-center{align-items:center;justify-content:center;text-align:center}.spy-logo{font-size:64px;text-align:center;margin-top:6px}.spy-title{margin:0;text-align:center;font-size:38px;font-weight:900;color:var(--acc);letter-spacing:0}.spy-sub{margin:0;text-align:center;color:var(--mut);font-size:15px;line-height:1.6}.spy-h2{margin:0;text-align:center;font-size:30px;font-weight:900}.spy-card{background:var(--card);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:12px;border:1px solid rgba(255,255,255,.06)}.spy-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px;font-weight:700}.spy-label{font-weight:700;color:var(--mut);font-size:14px}.spy-stepper{display:flex;align-items:center;gap:14px}.spy-stepper button{width:44px;height:44px;border-radius:14px;background:#2b2e52;font-size:24px}.spy-stepper b{min-width:28px;text-align:center;font-size:22px}.spy-seg{display:flex;gap:6px}.spy-seg button{min-height:44px;min-width:48px;padding:0 12px;border-radius:12px;background:#2b2e52;font-size:15px;font-weight:700}.spy-seg button.on{background:var(--acc);color:#1a1030}.spy-packs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.spy-pack{min-height:48px;border-radius:14px;background:#262948;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 8px;border:2px solid transparent!important}.spy-pack.on{border-color:var(--acc)!important;background:#3a3260}.spy-link{background:none;color:var(--mut);font-size:15px;min-height:44px;text-decoration:underline}.spy-names{display:grid;grid-template-columns:1fr 1fr;gap:8px}.spy-names input{min-width:0;height:44px;border-radius:12px;border:1px solid #3b3e68;background:#12132a;color:var(--ink);padding:0 12px;font-size:16px;font-family:inherit}.spy-big{width:100%;min-height:60px;border-radius:18px;background:linear-gradient(180deg,#ffc933,var(--acc));color:#1a1030!important;font-size:19px;font-weight:900;box-shadow:0 8px 24px #ffb70340;padding:8px 14px}.spy-big.spy-dark{background:#2b2e52;color:var(--ink)!important;box-shadow:none}.spy-hint{margin:0;text-align:center;color:var(--mut);font-size:13px}.spy-round{color:var(--mut);font-size:14px;font-weight:700}.spy-avatar{width:110px;height:110px;border-radius:50%;background:linear-gradient(135deg,#7b5cff,#ff4d6d);display:grid;place-items:center;font-size:52px;font-weight:900}.spy-big-name{margin:0;font-size:34px;font-weight:900}.spy-dots{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.spy-dots i{width:10px;height:10px;border-radius:50%;background:#34375c}.spy-dots i.done{background:var(--acc)}.spy-dots i.now{background:#fff;transform:scale(1.4)}.spy-secret{width:100%;border-radius:26px;padding:30px 18px;background:linear-gradient(160deg,#3a2a8a,#24204f);border:2px solid #6a55e0;display:flex;flex-direction:column;align-items:center;gap:8px}.spy-secret.spy-isspy{background:linear-gradient(160deg,#8a1c3a,#3a1030);border-color:var(--red)}.spy-secret h2{margin:0;font-size:30px;font-weight:900}.spy-secret p{margin:6px 0 0;color:#d9d4ff;font-size:15px;line-height:1.6}.spy-secret small{color:#cfc8ff;font-size:14px}.spy-word{color:var(--acc);font-size:40px!important;line-height:1.3;word-break:break-word}.spy-emoji{font-size:56px}.spy-emoji.big{font-size:90px}.spy-timer{font-size:84px;font-weight:900;font-variant-numeric:tabular-nums;direction:ltr;color:var(--acc);line-height:1;margin:10px 0}.spy-timer.low{color:var(--red);animation:spy-pulse 1s infinite}@keyframes spy-pulse{50%{transform:scale(1.06)}}.spy-tips{display:flex;flex-direction:column;gap:8px;width:100%}.spy-tips span{background:var(--card);border-radius:14px;padding:10px 14px;font-size:14px;color:var(--mut)}.spy-two{display:flex;gap:10px;width:100%;justify-content:center}.spy-small{flex:1;min-height:48px;border-radius:14px;background:#2b2e52;font-size:16px;font-weight:700}.spy-vote{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.spy-v{min-height:64px;border-radius:16px;background:var(--card);display:flex;align-items:center;gap:10px;padding:0 12px;font-size:16px;font-weight:700;border:2px solid transparent!important}.spy-v b{width:38px;height:38px;flex:none;border-radius:50%;background:#3a3470;display:grid;place-items:center}.spy-v span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spy-v.on{border-color:var(--red)!important;background:#3a1d3c}.spy-guess{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.spy-guess button{min-height:56px;border-radius:14px;background:var(--card);font-size:16px;font-weight:700;padding:6px 8px}.spy-reveal{width:100%;background:var(--card);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px}.spy-reveal div{display:flex;flex-direction:column;gap:4px}.spy-reveal small{color:var(--mut)}.spy-reveal b{font-size:26px;font-weight:900}.spy-reveal .spy-word{font-size:30px!important}.spy-note{margin:0;color:var(--mut);font-size:14px}.spy-score{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;width:100%}.spy-score span{background:#22254a;border-radius:12px;padding:6px 10px;font-size:13px;display:flex;gap:8px;align-items:center}.spy-score span.sp{outline:1px solid var(--red)}.spy-score b{color:var(--acc)}.spy-exit{position:absolute;top:12px;left:12px;width:44px;height:44px;border-radius:50%;background:#25284a;font-size:18px;z-index:5}.spy-modal{position:absolute;inset:0;background:#05050fbf;display:grid;place-items:center;padding:24px;z-index:10}.spy-modal .spy-card{width:100%;max-width:340px;text-align:center;font-size:17px;font-weight:700}.spy-modal p{margin:0}.spy-spybtn{width:100%;min-height:52px;border-radius:16px;background:#3a1d3c;border:2px solid var(--red)!important;font-size:16px;font-weight:800}.spy-list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;max-height:50vh;overflow:auto}.spy-list span{background:#262948;border-radius:10px;padding:6px 10px;font-size:14px;font-weight:600}.spy-cardscreen{align-items:center;text-align:center;gap:16px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.spy-top{width:100%;min-height:150px;border-radius:24px;background:var(--card);border:2px dashed #3b3e68;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px}.spy-top.show{background:linear-gradient(160deg,#3a2a8a,#24204f);border:2px solid #6a55e0}.spy-top.spy-isspy{background:linear-gradient(160deg,#8a1c3a,#3a1030);border:2px solid var(--red)}.spy-top b{font-size:32px;font-weight:900}.spy-top .spy-word{font-size:42px}.spy-top small{color:#cfc8ff;font-size:14px}.spy-q{font-size:56px;color:#3b3e68;font-weight:900}.spy-print{width:150px;height:150px;border-radius:50%;background:#262948;color:var(--acc);display:grid;place-items:center;border:3px solid #3b3e68!important;touch-action:none;margin-top:6px}.spy-print.on{background:var(--acc);color:#1a1030;box-shadow:0 0 40px #ffb70380}.spy-press{margin:0;color:var(--mut);font-size:15px;min-height:22px}.spy-next{margin-top:auto;width:100%;min-height:56px;border-radius:16px;background:#fff;color:#1a1030!important;font-size:18px;font-weight:800}.spy-next:disabled{opacity:.25}.spy-glow{opacity:.5}.spy-big,.spy-small,.spy-spybtn,.spy-next,.spy-link{display:inline-flex;align-items:center;justify-content:center;gap:8px}.spy-big:active,.spy-small:active,.spy-spybtn:active,.spy-next:active,.spy-pack:active,.spy-v:active,.spy-guess button:active{transform:scale(.97)}.spy-big,.spy-small,.spy-pack,.spy-v,.spy-next{transition:transform .08s,background .15s}.spy-logo{display:flex;justify-content:center;margin-top:4px}.spy-pack svg{color:var(--acc);flex:none}.spy-pack{box-shadow:inset 0 0 0 1px #ffffff0a}.spy-card{box-shadow:0 1px #ffffff0a inset}.spy-emoji{display:flex;justify-content:center;color:var(--ink)}.spy-emoji.big{color:var(--acc);margin:6px 0}.spy-top.show,.spy-top.spy-isspy{animation:spy-flip .35s ease-out}@keyframes spy-flip{0%{transform:rotateX(80deg);opacity:.2}to{transform:rotateX(0);opacity:1}}.spy-note{display:flex;align-items:center;gap:6px}.spy-top .spy-emoji{color:#ffd6df}.spy-print svg{pointer-events:none}@media(prefers-reduced-motion:reduce){.spy-top.show,.spy-top.spy-isspy,.spy-timer.low{animation:none}}.spy-home{padding-top:18px;gap:10px}.spy-head{display:flex;align-items:center;gap:14px}.spy-head .spy-title{text-align:right;font-size:30px}.spy-head .spy-sub{text-align:right;font-size:13px}.spy-home .spy-card{padding:12px 14px;gap:10px}.spy-pack.on:after{content:""}.spy-home{gap:14px}.spy-card .spy-big{width:100%}.spy-chan{text-align:center}.spy-chanlink{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:14px;background:#ff3b3b;color:#fff;font-weight:800;font-size:18px;text-decoration:none;margin-top:8px}.spy-rules ol{margin:8px 0 0;padding:0 20px 0 0;line-height:1.9;font-size:15px;color:var(--mut)}.spy-rules li{margin-bottom:6px}.spy-home{padding-top:14px;padding-bottom:20px;gap:8px}.spy-home .spy-card{padding:10px 12px;gap:8px;border-radius:16px}.spy-home .spy-head .spy-title{font-size:26px}.spy-home .spy-big{min-height:52px;font-size:18px;box-shadow:0 4px 14px #ffb70333}.spy-home .spy-stepper button,.spy-home .spy-seg button{min-height:40px}.spy-home .spy-stepper button{width:40px;height:40px}.spy-home .spy-pack{min-height:44px}.spy-home .spy-chanlink{min-height:44px;margin-top:0}.spy-home .spy-rules ol{margin-top:2px;line-height:1.7}.spy-home .spy-rules li{margin-bottom:3px}@media(max-width:350px){.spy-screen{padding-left:10px;padding-right:10px}.spy-home .spy-head .spy-title{font-size:22px}.spy-row{font-size:14px}.spy-seg button{min-width:40px;padding:0 8px;font-size:14px}.spy-pack{font-size:13px;gap:4px}.spy-timer{font-size:64px}.spy-big-name{font-size:28px}}@media(min-height:800px)and (max-width:500px){.spy-home{gap:10px}}@media(min-width:600px){.spy-screen{max-width:620px;padding-top:56px}.spy-home{padding-top:24px;gap:12px}.spy-home .spy-card{padding:14px 18px}.spy-row{font-size:19px}.spy-home .spy-head .spy-title{font-size:34px}.spy-sub{font-size:17px}.spy-packs{grid-template-columns:repeat(4,1fr)}.spy-pack{font-size:17px}.spy-seg button{font-size:17px;min-height:48px;min-width:56px}.spy-home .spy-stepper button{width:48px;height:48px}.spy-big{font-size:22px;min-height:64px}.spy-home .spy-big{min-height:60px;font-size:21px}.spy-rules ol{font-size:17px!important}.spy-timer{font-size:120px}.spy-big-name{font-size:42px}.spy-word{font-size:54px!important}.spy-vote,.spy-guess{grid-template-columns:repeat(3,1fr)}}@media(min-width:900px){.spy-screen{max-width:700px}}@media(orientation:landscape)and (max-height:500px){.spy-screen{padding-top:12px;padding-bottom:12px}.spy-home .spy-card{padding:8px 12px}.spy-timer{font-size:64px;margin:0}}@media(max-height:640px){.spy-screen{padding-top:52px;padding-bottom:14px;gap:8px}.spy-cardscreen{gap:8px}.spy-top{min-height:118px;padding:8px}.spy-top b{font-size:28px}.spy-top .spy-word{font-size:36px}.spy-print{width:112px;height:112px;margin-top:0}.spy-print svg{width:64px;height:64px}.spy-big-name{font-size:26px}.spy-next{min-height:50px}.spy-big{min-height:52px}.spy-timer{font-size:72px;margin:4px 0}.spy-reveal{padding:12px;gap:8px}.spy-reveal b{font-size:22px}}@media(min-width:600px)and (min-height:900px){.spy-print{width:190px;height:190px}.spy-print svg{width:100px;height:100px}.spy-top{min-height:190px}.spy-top b{font-size:40px}.spy-reveal b{font-size:32px}.spy-reveal .spy-word{font-size:38px!important}.spy-score span{font-size:16px;padding:8px 12px}}.spy-bar{display:flex;justify-content:flex-start}.spy-menubtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:14px;background:var(--card);border:1px solid rgba(255,255,255,.08)!important;font-size:16px;font-weight:800;color:var(--ink)}.spy-sheet{width:100%;max-width:520px;max-height:88dvh;overflow-y:auto;background:var(--bg);border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:8px;border:1px solid rgba(255,255,255,.08)}.spy-sheethead{display:flex;align-items:center;justify-content:space-between;font-size:20px;font-weight:900}.spy-close{width:44px;height:44px;border-radius:50%;background:#25284a}.spy-sheet .spy-card{padding:10px 12px;gap:8px;border-radius:16px}@media(min-width:600px){.spy-sheet{max-width:620px;padding:18px}.spy-menubtn{font-size:18px;min-height:48px}}.spy-menu{position:fixed;padding:12px}.spy-menu .spy-sheet .spy-card{max-width:none;text-align:start;font-size:15px;font-weight:400}.spy-menu .spy-chan{text-align:center}
