.cricket-dialog{width:min(900px,96vw);background:#f5f5ed}.cricket-brand{display:flex;justify-content:space-between;align-items:center;color:#758d72;margin:14px 0;font-size:16px;letter-spacing:2px;font-weight:800}.cricket-brand small{font-size:8px}.cricket-scoreboard{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.cricket-scoreboard>div{background:#e7ecdf;border-radius:13px;text-align:center;padding:10px}.cricket-scoreboard small{display:block;font-size:8px;letter-spacing:1.5px;color:#8d9b7b}.cricket-scoreboard strong{font-size:30px;color:#668069}.cricket-scoreboard>div:nth-child(2){background:#f4e2bf}.cricket-stage{position:relative;border-radius:17px;overflow:hidden;max-width:720px;margin:auto}.cricket-stage canvas{display:block;width:100%}#cricket-callout{position:absolute;top:30%;left:0;right:0;text-align:center;color:#ffdda1;font-size:clamp(22px,5vw,45px);font-weight:900;text-shadow:0 3px #584b69;pointer-events:none}.cricket-balls{display:flex;justify-content:center;gap:10px;margin:12px 0}.cricket-balls span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e4e7de;color:#939d85;font-size:13px;font-weight:700}.cricket-balls .played{background:#d8e8d1;color:#658160}.cricket-timing{max-width:520px;margin:auto}.timing-label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#959582;margin-bottom:7px}.timing-label strong{color:#bd934a}.timing-track{height:22px;position:relative;background:#e6dbdc;border-radius:12px;overflow:hidden}.timing-good{position:absolute;left:56%;width:32%;height:100%;background:#bdcfb4}.timing-perfect{position:absolute;left:64.5%;width:15%;height:100%;background:#efd07a}#cricket-marker{position:absolute;left:0;top:0;bottom:0;width:5px;background:#654f7d;transform:translateX(-50%)}#cricket-hint{text-align:center;color:#9a8a72;font-size:12px;min-height:20px;line-height:1.6}.cricket-buttons{display:flex;justify-content:center;gap:12px;margin:12px 0}.cricket-buttons button{border:0;border-radius:14px;background:#e4e8da;color:#7b8d6c;padding:13px 20px;min-height:48px;font:inherit;font-weight:700;touch-action:manipulation;cursor:pointer}#cricket-hit{background:#e9ba70;color:#705230;min-width:190px;font-size:18px;box-shadow:0 4px 0 #c69b60}.cricket-buttons button:disabled{opacity:.55;cursor:default}.cricket-art{background:linear-gradient(#b6d1c8,#e8e3ad);font-size:88px}@media(max-width:650px){.cricket-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:16px;margin:0;border-radius:0}.cricket-brand{font-size:13px}.cricket-brand small{font-size:7px}.cricket-scoreboard strong{font-size:25px}.cricket-scoreboard small{font-size:7px}.cricket-buttons{position:sticky;bottom:-16px;background:#f5f5edf5;padding:12px 0;z-index:5}#cricket-hit{min-width:170px}.game-card .cricket-art{font-size:60px}}#game-dialog.game-expanded .cricket-stage{max-width:min(720px,calc((100dvh - 425px)*1.89))}@media(max-width:650px){#game-dialog.game-expanded .cricket-stage{max-width:100%}}@media(max-height:500px) and (orientation:landscape){#game-dialog.game-expanded .cricket-stage{max-width:360px;float:left;width:50%;margin-right:18px}#game-dialog.game-expanded .cricket-brand{display:none}#game-dialog.game-expanded .cricket-scoreboard{margin:4px 0}#game-dialog.game-expanded .cricket-scoreboard>div{padding:5px}#game-dialog.game-expanded .cricket-buttons{position:static}}
