#game-dialog.fidget-search-dialog{width:min(1180px,98vw);max-width:98vw;padding:20px;max-height:98dvh;overflow:auto}.fidget-search{width:100%}.fs-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.fs-bar strong{font-size:32px;color:#346344;font-variant-numeric:tabular-nums}.fs-bar strong.urgent{color:#a34331}.fs-bar span{margin-right:auto}.fs-bar .pill{padding:10px 15px;font-size:16px;min-height:44px}.fs-window{height:clamp(280px,65dvh,720px);position:relative;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;border:3px solid #776348;border-radius:12px;background:#f5ecd9;cursor:grab}.fs-window:active{cursor:grabbing}.fs-picture{position:relative;line-height:0}.fs-picture>img{display:block;width:100%;max-width:none;height:auto;user-select:none;-webkit-user-drag:none}.fs-cover,.fs-pause-cover{position:sticky;left:0;top:0;width:100%;height:100%;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:#f8efddeF;z-index:4;padding:20px;box-sizing:border-box}.fs-cover{position:absolute}.fs-cover[hidden],.fs-ring[hidden]{display:none}.fs-cover:has(.fs-found){background:transparent;pointer-events:none;position:sticky;bottom:0;height:0;min-height:0;padding:0}.fs-found{background:#fff6e9ed;box-shadow:0 4px 24px #332c2844;border-radius:24px;padding:12px 28px;position:fixed;left:50%;bottom:10vh;transform:translateX(-50%);pointer-events:auto}.fs-found h2{font-size:26px;margin:0 0 8px}.fs-ring{position:absolute;transform:translate(-50%,-50%);width:90px;height:90px;border:6px solid #f6c944;border-radius:50%;display:grid;place-items:center;font-size:50px;color:#ffdf53;box-shadow:0 0 0 7px #fff8;pointer-events:none;animation:fs-pop .6s ease-out}.fs-end>img{width:90px;height:100px;object-fit:contain;display:block;margin:12px auto}.fs-end .pill{margin:8px}.fs-help{font-size:16px;text-align:center;margin:8px 0}.fs-pause-cover{position:sticky;top:0;margin-top:-65dvh}.fs-win{animation:fs-pop .7s ease-out}.fs-paused{overflow:hidden}@keyframes fs-pop{0%{scale:.5;opacity:0}65%{scale:1.2;opacity:1}100%{scale:1}}@media(max-width:700px){#game-dialog.fidget-search-dialog{padding:12px}.fs-bar{gap:6px}.fs-bar .pill{padding:8px 11px}.fs-window{height:60dvh}.fs-help{font-size:14px}.fs-cover h2{font-size:30px}}@media(prefers-reduced-motion:reduce){.fs-ring,.fs-win{animation:none}}

.fs-stage{position:relative}.fs-pause-cover{position:absolute;inset:0;margin:0;height:100%;z-index:6}.fs-cover:has(.fs-found){position:absolute;inset:0;height:100%;min-height:0}.fs-found{position:absolute;bottom:20px}.fs-cover{inset:0}
