body{margin:0;font-family:sans-serif;background:#e8f7e4;display:flex;justify-content:center;padding:16px}.game{width:100%;max-width:420px;background:#fff;border-radius:16px;padding:20px;box-shadow:0 4px 12px rgba(0,0,0,.1);text-align:center}.stats{font-size:15px;color:#374151}.field{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#c8efb0;border-radius:12px;padding:12px}.encounter img{width:128px;height:128px;image-rendering:pixelated}.encounter p{margin:4px 0;font-weight:bold}.hidden{display:none}.versus{display:flex;gap:8px;justify-content:center;align-items:center}.buttons{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}button{padding:10px 14px;border:0;border-radius:8px;background:#3b82f6;color:#fff;font-size:16px;cursor:pointer}button:disabled{background:#9ca3af;cursor:not-allowed}details{margin-top:16px;text-align:left}li{padding:4px 0}.caught-sprite{width:40px;height:40px;vertical-align:middle;image-rendering:pixelated;margin-right:6px}.silhouette{width:40px;height:40px;vertical-align:middle;image-rendering:pixelated;filter:brightness(0);margin-right:6px}.selects{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}select{padding:8px;font-size:16px;border-radius:6px;min-width:150px;max-width:100%}.selects label{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:14px;color:#374151}.hp{width:100%;max-width:240px;margin:6px auto}.hp p{margin:2px 0;font-size:14px}.bar{height:12px;background:#e5e7eb;border-radius:6px;overflow:hidden}.fill{height:100%;width:100%;background:#22c55e;transition:width .3s}